home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 4⁄13⁄90 / 1097-INHERITED Usage-Apr90 < prev    next >
Encoding:
Text File  |  1990-04-16  |  917 b   |  36 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    9152593                         13-April-90        03:08PDT
  4.  
  5. From:   SCHMUCKER1                      Schmucker, Kurt
  6.  
  7. To:     UK0392                          EHN & DIJ Oakley,IDV
  8.  
  9. cc:     MACAPP.TECH$                    MacApp Technical
  10.  
  11. Sub:    INHERITED Usage
  12.  
  13. Howard,
  14.  
  15. Regarding your comment on Object Pascal in "Re-Re>Dimming TEditText":
  16.  
  17. >you can only call INHERITED for a method which you have overidden and then
  18. >from within that overiding method
  19.  
  20.  
  21.     This is certainly how INHERITED is normally used, but there is no such
  22. language restriction.  Code like:
  23.  
  24. >       PROCEDURE TYourEditText.ViewEnable(state, redraw: BOOLEAN);
  25. >       BEGIN
  26. >           INHERITED ViewEnable(state, kDontRedraw);
  27. >           INHERITED DimState(NOT state, redraw);
  28. >       END;
  29.  
  30.  
  31. is rare (after all, it was written by James!), but it is legal.
  32.  
  33.  
  34.             Kurt
  35.  
  36.